Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> sum=0
>>> for i in range(1,10001):
...     if i % 3==0
...     
SyntaxError: incomplete input
>>> for i in range(1,10001):
...     if i % 3==0:
...         sum+=i
... 
...         
>>> print(sum)
16668333
>>> a=0
>>> for m in range(1,10001):
...     if m % 7==0:
...         a+=m
... 
...         
>>> print(a)
7142142
>>> b=0
>>> for n in range(1,10001):
...     if n % 13==0:
...         b+=n
... 
...         
>>> print(b)
3848845
